package com.czh.springboot04.service;

import com.czh.springboot04.entity.Specialty;
import com.github.pagehelper.PageInfo;

public interface SpecialtyService {
    int insert(Specialty specialty);

    int update(Specialty specialty);

    int delete(int id);

    PageInfo<Specialty> selectByPage(int pageNum, int pageSize);
    Specialty selectById(int id);
}
